
angular.module('imsApp').factory('PermissionCodeManager', ['$http', function ($http) {
    var PermissionCodeManager = {
        menuItem:function () {
         return $http.get("init/init.json").then(function (result) {
              return result.data;
          })
       },
        codeTable:function(){
            return $http.get("init/code.json").then(function (result) {
                return result.data;
            })
        }

    };



    return PermissionCodeManager;
}]);
